package com.ss.android.newmedia.message;

import android.content.Context;
import android.graphics.Bitmap;
import com.ss.android.newmedia.BaseAppData;

final class m implements Runnable {
    private final h a;
    private final Context b;
    private final BaseAppData c;
    private final Bitmap d;

    m(h arg1, Context arg2, BaseAppData arg3, Bitmap arg4) {
        this.a = arg1;
        this.b = arg2;
        this.c = arg3;
        this.d = arg4;

    }

    public final void run() {
        if((this.a.u) || !i.b(this.b, this.c, this.a)) {
            com.ss.android.newmedia.message.i.a(this.b, this.c, this.d, this.a);
        }
        else {
            com.ss.android.newmedia.message.b.a(this.b).a(this.a.i);
        }

        com.ss.android.newmedia.message.i.a(this.b, this.a.i, this.c);
    }
}

